package com.tank.demo.abstractFactory;

import com.tank.demo.entry.wall.RetroWall;
import com.tank.demo.facadeAndMediator.GameModel;
import com.tank.demo.frame.TankFrame;
import com.tank.demo.myenum.DirEnum;
import com.tank.demo.myenum.TankGroupEnum;

/**
 * 抽象工厂模式
 */
public abstract class BaseGameAbstractFactory {
    public abstract BaseTank createTank(int x, int y, DirEnum dir, boolean moving, TankGroupEnum group);

    public abstract BaseBullet createBullet(int x, int y, DirEnum dir, TankGroupEnum group);

    public abstract BaseExplode createExplode(int x, int y);

    public abstract RetroWall createWall(int x,int y);
}
